package com.example.control

import com.google.gson.Gson
import okhttp3.ResponseBody
import retrofit2.Call
import retrofit2.http.Body
import retrofit2.http.GET
import retrofit2.http.POST


// http://192.168.31.87:8081/check_connection
interface Service {
    @GET("check_connection")
    fun checkConnect(): Call<Instruction>

    @POST("move")
    fun sendMove(@Body instruction: String): Call<ResponseBody>
}